<%--
  Created by IntelliJ IDEA.
  User: Administrator
  Date: 2020/10/10
  Time: 17:10
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" isELIgnored="false" language="java" %>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<html>
<head>
    <title>Title</title>
</head>
<c:if test="${not empty cookie.USER_NAME}">
    <c:redirect url="index.jsp"></c:redirect>
</c:if>
<body>
<form action="demoa" method="post">
    账号:<input name="name"/><br/>
    密码:<input type="password" name="pass"/><br/>
    是否记住密码:<input type="checkbox" name="is"/><br/>
    <button>登录</button>
</form>
</body>
</html>
